
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>Excel数据导出 · Diboot组件文档</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchor-navigation-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-theme-vuejs-2/vue.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="音频文件处理.html" />
    
    
    <link rel="prev" href="Excel数据导入.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                



<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../基础.html">
            
                <a href="../基础.html">
            
                    
                    基础
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../基础/组件引入.html">
            
                <a href="../基础/组件引入.html">
            
                    
                    组件引入
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../基础/SQL初始化.html">
            
                <a href="../基础/SQL初始化.html">
            
                    
                    SQL初始化
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../消息组件.html">
            
                <a href="../消息组件.html">
            
                    
                    消息通知组件
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../消息组件/消息模板管理.html">
            
                <a href="../消息组件/消息模板管理.html">
            
                    
                    消息模板管理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../消息组件/消息记录管理.html">
            
                <a href="../消息组件/消息记录管理.html">
            
                    
                    消息记录管理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../消息组件/发送短信消息.html">
            
                <a href="../消息组件/发送短信消息.html">
            
                    
                    发送短信消息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="../消息组件/发送邮件消息.html">
            
                <a href="../消息组件/发送邮件消息.html">
            
                    
                    发送邮件消息
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../文件组件.html">
            
                <a href="../文件组件.html">
            
                    
                    文件处理组件
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="文件处理工具.html">
            
                <a href="文件处理工具.html">
            
                    
                    文件处理工具
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="Excel数据导入.html">
            
                <a href="Excel数据导入.html">
            
                    
                    Excel数据导入
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.4.3" data-path="Excel数据导出.html">
            
                <a href="Excel数据导出.html">
            
                    
                    Excel数据导出
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="音频文件处理.html">
            
                <a href="音频文件处理.html">
            
                    
                    音频文件处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="图片文件处理.html">
            
                <a href="图片文件处理.html">
            
                    
                    图片文件处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.6" data-path="压缩文件处理.html">
            
                <a href="压缩文件处理.html">
            
                    
                    压缩文件处理
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>



                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                

                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >Excel数据导出</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <div id="anchor-navigation-ex-navbar"><i class="fa fa-navicon"></i><ul><li><span class="title-icon "></span><a href="#excel&#x6570;&#x636E;&#x5BFC;&#x51FA;"><b>1. </b>Excel&#x6570;&#x636E;&#x5BFC;&#x51FA;</a></li><ul><li><span class="title-icon "></span><a href="#&#x6DFB;&#x52A0;&#x6570;&#x636E;&#x5BFC;&#x51FA;&#x5730;&#x5740;"><b>1.1. </b>&#x6DFB;&#x52A0;&#x6570;&#x636E;&#x5BFC;&#x51FA;&#x5730;&#x5740;</a></li><li><span class="title-icon "></span><a href="#&#x83B7;&#x53D6;&#x5BFC;&#x51FA;&#x6570;&#x636E;"><b>1.2. </b>&#x83B7;&#x53D6;&#x5BFC;&#x51FA;&#x6570;&#x636E;</a></li><ul><li><span class="title-icon "></span><a href="#mapper&#x76F8;&#x5173;"><b>1.2.1. </b>mapper&#x76F8;&#x5173;</a></li><li><span class="title-icon "></span><a href="#service&#x63A5;&#x53E3;"><b>1.2.2. </b>service&#x63A5;&#x53E3;</a></li><li><span class="title-icon "></span><a href="#controller&#x4E2D;&#x6DFB;&#x52A0;&#x83B7;&#x53D6;&#x6570;&#x636E;&#x65B9;&#x6CD5;"><b>1.2.3. </b>controller&#x4E2D;&#x6DFB;&#x52A0;&#x83B7;&#x53D6;&#x6570;&#x636E;&#x65B9;&#x6CD5;</a></li></ul><li><span class="title-icon "></span><a href="#&#x5BFC;&#x51FA;excel&#x6587;&#x4EF6;"><b>1.3. </b>&#x5BFC;&#x51FA;Excel&#x6587;&#x4EF6;</a></li></ul></ul></div><a href="#excel&#x6570;&#x636E;&#x5BFC;&#x51FA;" id="anchorNavigationExGoTop"><i class="fa fa-arrow-up"></i></a><h1 id="excel&#x6570;&#x636E;&#x5BFC;&#x51FA;"><a name="excel&#x6570;&#x636E;&#x5BFC;&#x51FA;" class="anchor-navigation-ex-anchor" href="#excel&#x6570;&#x636E;&#x5BFC;&#x51FA;"><i class="fa fa-link" aria-hidden="true"></i></a>1. Excel&#x6570;&#x636E;&#x5BFC;&#x51FA;</h1>
<h2 id="&#x6DFB;&#x52A0;&#x6570;&#x636E;&#x5BFC;&#x51FA;&#x5730;&#x5740;"><a name="&#x6DFB;&#x52A0;&#x6570;&#x636E;&#x5BFC;&#x51FA;&#x5730;&#x5740;" class="anchor-navigation-ex-anchor" href="#&#x6DFB;&#x52A0;&#x6570;&#x636E;&#x5BFC;&#x51FA;&#x5730;&#x5740;"><i class="fa fa-link" aria-hidden="true"></i></a>1.1. &#x6DFB;&#x52A0;&#x6570;&#x636E;&#x5BFC;&#x51FA;&#x5730;&#x5740;</h2>
<ul>
<li>&#x521B;&#x5EFA;&#x4E00;&#x4E2A;controller&#xFF0C;&#x6216;&#x4F7F;&#x7528;&#x5176;&#x4ED6;&#x9700;&#x8981;&#x5BFC;&#x51FA;&#x4E1A;&#x52A1;&#x7684;controller&#x3002;</li>
<li>&#x6DFB;&#x52A0;&#x5BFC;&#x51FA;&#x5730;&#x5740;&#x548C;&#x65B9;&#x6CD5;&#xFF0C;&#x5982;&#x4E0B;&#xFF1A;</li>
</ul>
<pre><code class="lang-java"><span class="hljs-meta">@GetMapping</span>(<span class="hljs-string">&quot;/export&quot;</span>)
<span class="hljs-function"><span class="hljs-keyword">public</span> String <span class="hljs-title">export</span><span class="hljs-params">(HttpServletRequest request, HttpServletResponse response, ModelMap modelMap)</span> <span class="hljs-keyword">throws</span> Exception</span>{
}
</code></pre>
<h2 id="&#x83B7;&#x53D6;&#x5BFC;&#x51FA;&#x6570;&#x636E;"><a name="&#x83B7;&#x53D6;&#x5BFC;&#x51FA;&#x6570;&#x636E;" class="anchor-navigation-ex-anchor" href="#&#x83B7;&#x53D6;&#x5BFC;&#x51FA;&#x6570;&#x636E;"><i class="fa fa-link" aria-hidden="true"></i></a>1.2. &#x83B7;&#x53D6;&#x5BFC;&#x51FA;&#x6570;&#x636E;</h2>
<h3 id="mapper&#x76F8;&#x5173;"><a name="mapper&#x76F8;&#x5173;" class="anchor-navigation-ex-anchor" href="#mapper&#x76F8;&#x5173;"><i class="fa fa-link" aria-hidden="true"></i></a>1.2.1. mapper&#x76F8;&#x5173;</h3>
<ul>
<li>&#x5728;&#x76F8;&#x5E94;&#x7684;Service&#x7684;getMapper()&#x5BF9;&#x5E94;&#x7684;Mapper&#x7C7B;&#x53CA;Mapper.xml&#x4E2D;&#x6DFB;&#x52A0;&#x83B7;&#x53D6;&#x5BFC;&#x51FA;&#x6570;&#x636E;&#x7684;&#x63A5;&#x53E3;&#x53CA;SQL&#x3002;</li>
</ul>
<pre><code class="lang-java"><span class="hljs-function">List&lt;LinkedHashMap&gt; <span class="hljs-title">getExportMapList</span><span class="hljs-params">(@Param(<span class="hljs-string">&quot;c&quot;</span>)</span> Map&lt;String, Object&gt; var1)</span>;
</code></pre>
<pre><code class="lang-xml"><span class="hljs-tag">&lt;<span class="hljs-name">select</span> <span class="hljs-attr">id</span>=<span class="hljs-string">&quot;getExportMapList&quot;</span> <span class="hljs-attr">parameterType</span>=<span class="hljs-string">&quot;Map&quot;</span> <span class="hljs-attr">resultType</span>=<span class="hljs-string">&quot;java.util.LinkedHashMap&quot;</span>&gt;</span>
    SELECT self.name AS &apos;&#x59D3;&#x540D;&apos;, self.wechat AS &apos;&#x5FAE;&#x4FE1;&apos;, self.phone AS &apos;&#x7535;&#x8BDD;&apos;, t.name AS &apos;&#x73ED;&#x4E3B;&#x4EFB;&apos;
    FROM student self
    LEFT JOIN teacher t ON self.teacher_id=t.id
    <span class="hljs-tag">&lt;<span class="hljs-name">where</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">include</span> <span class="hljs-attr">refid</span>=<span class="hljs-string">&quot;conditions&quot;</span> /&gt;</span>
    <span class="hljs-tag">&lt;/<span class="hljs-name">where</span>&gt;</span>
    ORDER BY self.id DESC
    <span class="hljs-tag">&lt;<span class="hljs-name">if</span> <span class="hljs-attr">test</span>=<span class="hljs-string">&quot;c.COUNT != null&quot;</span>&gt;</span>
        LIMIT <span class="hljs-tag">&lt;<span class="hljs-name">if</span> <span class="hljs-attr">test</span>=<span class="hljs-string">&quot;c.OFFSET != null&quot;</span>&gt;</span>#{c.OFFSET}, <span class="hljs-tag">&lt;/<span class="hljs-name">if</span>&gt;</span>#{c.COUNT}
    <span class="hljs-tag">&lt;/<span class="hljs-name">if</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">select</span>&gt;</span>
</code></pre>
<h3 id="service&#x63A5;&#x53E3;"><a name="service&#x63A5;&#x53E3;" class="anchor-navigation-ex-anchor" href="#service&#x63A5;&#x53E3;"><i class="fa fa-link" aria-hidden="true"></i></a>1.2.2. service&#x63A5;&#x53E3;</h3>
<ul>
<li>&#x5728;&#x76F8;&#x5BF9;&#x5E94;&#x7684;Service&#x4E2D;&#x6DFB;&#x52A0;&#x83B7;&#x53D6;&#x5BFC;&#x51FA;&#x7684;&#x63A5;&#x53E3;&#x53CA;&#x5B9E;&#x73B0;&#x3002;</li>
</ul>
<pre><code class="lang-java"><span class="hljs-comment">/**
* &#x83B7;&#x53D6;&#x5BFC;&#x51FA;&#x6570;&#x636E;
* <span class="hljs-doctag">@param</span> criteria
* <span class="hljs-doctag">@return</span>
*/</span>
<span class="hljs-function">List&lt;LinkedHashMap&gt; <span class="hljs-title">getExportMapList</span><span class="hljs-params">(Map&lt;String, Object&gt; criteria, <span class="hljs-keyword">int</span>... page)</span></span>;
</code></pre>
<pre><code class="lang-java"><span class="hljs-meta">@Override</span>
<span class="hljs-function"><span class="hljs-keyword">public</span> List&lt;LinkedHashMap&gt; <span class="hljs-title">getExportMapList</span><span class="hljs-params">(Map&lt;String, Object&gt; criteria, <span class="hljs-keyword">int</span>... page)</span></span>{
    <span class="hljs-keyword">if</span> (criteria == <span class="hljs-keyword">null</span>) {
        criteria = <span class="hljs-keyword">new</span> HashMap(<span class="hljs-number">8</span>);
    }

    <span class="hljs-keyword">if</span> (page != <span class="hljs-keyword">null</span> &amp;&amp; page.length &gt; <span class="hljs-number">0</span>) {
        <span class="hljs-keyword">int</span> pageSize = page.length &gt; <span class="hljs-number">1</span> ? page[<span class="hljs-number">1</span>] : BaseConfig.getPageSize();
        ((Map)criteria).put(<span class="hljs-string">&quot;OFFSET&quot;</span>, pageSize * (page[<span class="hljs-number">0</span>] - <span class="hljs-number">1</span>));
        ((Map)criteria).put(<span class="hljs-string">&quot;COUNT&quot;</span>, pageSize);
    }

    List&lt;LinkedHashMap&gt; list = studentMapper.getExportMapList((Map)criteria);

    <span class="hljs-keyword">return</span> list;
}
</code></pre>
<h3 id="controller&#x4E2D;&#x6DFB;&#x52A0;&#x83B7;&#x53D6;&#x6570;&#x636E;&#x65B9;&#x6CD5;"><a name="controller&#x4E2D;&#x6DFB;&#x52A0;&#x83B7;&#x53D6;&#x6570;&#x636E;&#x65B9;&#x6CD5;" class="anchor-navigation-ex-anchor" href="#controller&#x4E2D;&#x6DFB;&#x52A0;&#x83B7;&#x53D6;&#x6570;&#x636E;&#x65B9;&#x6CD5;"><i class="fa fa-link" aria-hidden="true"></i></a>1.2.3. controller&#x4E2D;&#x6DFB;&#x52A0;&#x83B7;&#x53D6;&#x6570;&#x636E;&#x65B9;&#x6CD5;</h3>
<ul>
<li>&#x5904;&#x7406;&#x8BF7;&#x6C42;&#x53C2;&#x6570;&#x4EE5;&#x53CA;&#x67E5;&#x8BE2;&#x6761;&#x4EF6;&#x7B49;&#xFF0C;&#x83B7;&#x53D6;&#x5BFC;&#x51FA;&#x6570;&#x636E;&#x5217;&#x8868;&#x3002;</li>
</ul>
<pre><code class="lang-java"><span class="hljs-comment">/**
* &#x83B7;&#x53D6;&#x5BFC;&#x51FA;&#x6570;&#x636E;&#x5217;&#x8868;
* <span class="hljs-doctag">@param</span> request
* <span class="hljs-doctag">@param</span> modelMap
* <span class="hljs-doctag">@return</span>
* <span class="hljs-doctag">@throws</span> Exception
*/</span>
<span class="hljs-function"><span class="hljs-keyword">private</span> List&lt;LinkedHashMap&gt; <span class="hljs-title">getExportDataList</span><span class="hljs-params">(HttpServletRequest request, ModelMap modelMap)</span> <span class="hljs-keyword">throws</span> Exception</span>{

    Integer pageIndex = Integer.valueOf(request.getParameter(<span class="hljs-string">&quot;pageIndex&quot;</span>));
    Integer pageSize = Integer.valueOf(request.getParameter(<span class="hljs-string">&quot;pageSize&quot;</span>));
    Map&lt;String, Object&gt; criteria = <span class="hljs-keyword">super</span>.buildQueryCriteria(request, pageIndex);

    modelMap.addAttribute(<span class="hljs-string">&quot;criteria&quot;</span>, criteria);

    List&lt;LinkedHashMap&gt; mapList = studentService.getExportMapList(criteria, <span class="hljs-keyword">new</span> <span class="hljs-keyword">int</span>[]{pageIndex, pageSize});

    <span class="hljs-keyword">if</span> (V.isEmpty(mapList)){
        addResultMsg(request, <span class="hljs-keyword">false</span>, <span class="hljs-string">&quot;&#x672A;&#x67E5;&#x8BE2;&#x5230;&#x76F8;&#x5173;&#x5BFC;&#x51FA;&#x6570;&#x636E;&quot;</span>);
        <span class="hljs-keyword">return</span> <span class="hljs-keyword">null</span>;
    }

    <span class="hljs-keyword">return</span> mapList;
}
</code></pre>
<h2 id="&#x5BFC;&#x51FA;excel&#x6587;&#x4EF6;"><a name="&#x5BFC;&#x51FA;excel&#x6587;&#x4EF6;" class="anchor-navigation-ex-anchor" href="#&#x5BFC;&#x51FA;excel&#x6587;&#x4EF6;"><i class="fa fa-link" aria-hidden="true"></i></a>1.3. &#x5BFC;&#x51FA;Excel&#x6587;&#x4EF6;</h2>
<ul>
<li><a href="">FileHelper.buildExcelFile(mapList, filename)</a> &#x751F;&#x6210;&#x4E00;&#x4E2A;excel&#x6587;&#x4EF6;&#x5230;&#x670D;&#x52A1;&#x5668;&#x4E2D;&#x3002;</li>
<li><a href="">FileHelper.downloadLocalFile(fullpath, request, response)</a> &#x8BE5;&#x65B9;&#x6CD5;&#x6267;&#x884C;&#x540E;&#xFF0C;&#x5C06;&#x5F00;&#x59CB;&#x4E0B;&#x8F7D;&#x670D;&#x52A1;&#x5668;&#x4E0A;fullpath&#x8DEF;&#x5F84;&#x4E0B;&#x7684;&#x6587;&#x4EF6;&#x6587;&#x4EF6;&#x5230;&#x672C;&#x5730;&#x3002;</li>
<li>&#x6574;&#x4E2A;&#x4E0B;&#x8F7D;&#x6D41;&#x7A0B;&#x793A;&#x4F8B;&#x5982;&#x4E0B;&#xFF1A;</li>
</ul>
<pre><code class="lang-java"><span class="hljs-meta">@GetMapping</span>(<span class="hljs-string">&quot;/export&quot;</span>)
<span class="hljs-function"><span class="hljs-keyword">public</span> String <span class="hljs-title">export</span><span class="hljs-params">(HttpServletRequest request, HttpServletResponse response, ModelMap modelMap)</span> <span class="hljs-keyword">throws</span> Exception</span>{
    List&lt;LinkedHashMap&gt; mapList = getExportDataList(request, modelMap);
    <span class="hljs-keyword">if</span> (V.notEmpty(mapList)){
        <span class="hljs-keyword">for</span> (LinkedHashMap map : mapList){
            <span class="hljs-comment">// &#x5982;&#x679C;&#x5BF9;&#x76F8;&#x5173;&#x5B57;&#x6BB5;&#xFF0C;&#x6709;&#x7279;&#x6B8A;&#x7684;&#x5904;&#x7406;&#xFF0C;&#x53EF;&#x4EE5;&#x5728;&#x6B64;&#x5904;&#x8FDB;&#x884C;&#x5904;&#x7406;&#x3002;</span>
        }

        Date now = <span class="hljs-keyword">new</span> Date();
        String filename = <span class="hljs-string">&quot;&#x5B66;&#x751F;&#x6570;&#x636E;&#x5BFC;&#x51FA; &quot;</span> + D.getDate(now) + <span class="hljs-string">&quot;.xls&quot;</span>;
        String fullpath = FileHelper.buildExcelFile(mapList, filename);

        <span class="hljs-keyword">if</span> (V.notEmpty(fullpath)){
            FileHelper.downloadLocalFile(fullpath, request, response);
            <span class="hljs-keyword">return</span> <span class="hljs-keyword">null</span>;
        }

        addResultMsg(request, <span class="hljs-keyword">false</span>, <span class="hljs-string">&quot;&#x5BFC;&#x51FA;&#x6570;&#x636E;&#x5931;&#x8D25;&quot;</span>);
        <span class="hljs-keyword">return</span> list(request, modelMap);
    }

    <span class="hljs-comment">// build Excel&#x5931;&#x8D25;&#xFF0C;&#x8FD4;&#x56DE;&#x9875;&#x9762;&#x5E76;&#x63D0;&#x793A;</span>
    addResultMsg(request, <span class="hljs-keyword">false</span>, <span class="hljs-string">&quot;&#x672A;&#x67E5;&#x8BE2;&#x5230;&#x76F8;&#x5173;&#x6570;&#x636E;&quot;</span>);
    <span class="hljs-keyword">return</span> list(request, modelMap);
}
</code></pre>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                

            </div>

            
                
                <a href="Excel数据导入.html" class="navigation navigation-prev " aria-label="Previous page: Excel数据导入">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="音频文件处理.html" class="navigation navigation-next " aria-label="Next page: 音频文件处理">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"Excel数据导出","level":"1.4.3","depth":2,"next":{"title":"音频文件处理","level":"1.4.4","depth":2,"path":"文件组件/音频文件处理.md","ref":"文件组件/音频文件处理.md","articles":[]},"previous":{"title":"Excel数据导入","level":"1.4.2","depth":2,"path":"文件组件/Excel数据导入.md","ref":"文件组件/Excel数据导入.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-sharing","sharing-plus","anchor-navigation-ex","theme-vuejs-2"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"search":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"theme-vuejs-2":{},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"anchor-navigation-ex":{"mode":"float","pageTop":{"level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"showLevel":true,"tocLevel1Icon":"fa fa-hand-o-right","tocLevel2Icon":"fa fa-hand-o-right","tocLevel3Icon":"fa fa-hand-o-right","showGoTop":true,"isShowTocTitleIcon":true,"printLog":false,"multipleH1":true,"associatedWithSummary":true,"float":{"floatIcon":"fa fa-navicon","level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false}},"sharing":{"qq":true,"all":["weibo","qq","linkedin","qzone","douban"],"douban":false,"weibo":true,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":false,"messenger":false,"line":false,"vk":false,"pocket":false,"viber":false,"stumbleupon":false,"qzone":true,"linkedin":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Diboot组件文档","gitbook":"*","description":"Diboot组件文档"},"file":{"path":"文件组件/Excel数据导出.md","mtime":"2018-11-08T08:51:40.449Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-11-10T15:13:00.038Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-sharing-plus/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

